Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1 #! /Usr/bin/env python
2 # coding = UTF-8
3 # note that in the get_mem function, the splite column must correspond to your target
4 import OS
5
This article describes how to get the PID of the current PowerShell process in PowerShell and then use it to do something interesting.
Have you ever tried to enter "$pid" in the PowerShell command line window? Try.
Copy Code code as follows:
The CMD command uses tasklist and taskkill to close the program and tasklisttaskkill.
After the remote server yesterday, the server got stuck for no reason, and the mouse was delayed and unresponsive. If you wanted to close the program in the
The CMD command uses tasklist and taskkill to close the program.After the remote server yesterday, the server got stuck for no reason, and the mouse was delayed and unresponsive. If you wanted to close the program in the Process Manager, you also
Just show up:
The code is as follows
Copy Code
::===============@echo offWMIC process where name= "explorer.exe" Get HandlePause::===============
Pass to Variable:
The code is as follows
Copy
Hacker Common Command DaquanNET user Heibai Lovechina/add plus one heibai password for Lovechinanet localgroup Administrators heibai/add him into the administrator groupnet start Telnet on each other's Telnet serviceNET use z:\127.0.0.1c$ map each
The original is from: http://www.2cto.com/os/201304/203771.html Windows system in DOS command line kill the occupied PID 1. Start-Up and run-->cmd 2. Command Line Input: Netstat-ano I findstr Port (occupied port number) 3. Input: tasklist | Findstr
Recently, there are several processes in this book that cannot find the auto-start item in the registry. Today, I think we can simply get rid of it in DOS, but I have to rape it once every time I start the system. No way, who calls it so cheap? No
I am using SQL Server Reporting services to stop this service and set it to start manuallyIf you do not have SQL Server installed, please refer to the following
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.